The Nuts and Bolts of DBMS Construction: Building your Own Prototype

نویسندگان

  • Alberto Lerner
  • Ioana Manolescu
چکیده

DBMS construction: DBMS construction: DBMS construction: DBMS construction: DBMS construction: DBMS construction: building your own prototype building your own prototype building your own prototype building your own prototype building your own prototype building your own prototype building your own prototype building your own prototype 2 3 Motivation • www.amazon.com: – 48 books on compiler construction, several on optimizing compilers; – 1 book on DBMS system implementation!! • Researchers wanting to test new concepts are forced to build entire systems from scratch • Students learning how to prototype a DBMS have a hard time finding resources • Haven't we made construction of DBMS any easier in the last 20 years? 4 Goal of the tutorial • To outline techniques for building – advanced research experimental systems – simple but useful query engines • To map resources providing – Building blocks, or – Knowledge on how to build a building block if there is not a satisfactory one at hand 3 5 Method followed in the sequel • Outline a realistic architecture – Identify components and interfaces • Study the interfaces and define ways to combine the components • Use the above components as building-blocks for simple but realistic case studies 6 DBMS architecture Data storage • Data, indices • Materialized views Data and execution statistics Execution engine Optimizer Analyzer Query TEXT Internal query form Query execution plan User Result Catalog schema information 4 7 Recommended prototype design methodology 1. What is the component of interest (the one you want to study / implement / test) ? 2. Where would it fit into a functional system ? (What modules would it interact with ?) 3. Which of these interactions are interesting for you ? 4. How to get (satisfactory approximations of) the modules interacting with yours ? 8 Identifying your target • Already a good step in clarifying ideas • A new component: – A new XML indexing technique – A new (physical) join operator – A new query plan enumeration algorithm • Sometimes a whole system is sought (framework rather than component) – A generic framework for query optimization – A framework for distributed XML management – An XML benchmark 5 9 Identifying your target • Component vs. framework – software engineering issue, with a DB twist 10 Identifying module interactions • Start by considering an "ideal,complete" system architecture • Your component interacts with others – XML index: storage manager, execution …

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Matching Nuts and Bolts Faster

The problem of matching nuts and bolts is the following Given a collection of n nuts of distinct sizes and n bolts such that there is a one to one correspondence between the nuts and the bolts nd for each nut its corresponding bolt We can only compare nuts to bolts That is we can neither compare nuts to nuts nor bolts to bolts This humble restriction on the comparisons appears to make this prob...

متن کامل

Matching Nuts and Bolts Extended Abstract

We describe a procedure which may be helpful to any disorganized carpenter who has a mixed pile of bolts and nuts and wants to nd the corresponding pairs of bolts and nuts. The procedure uses our (and the carpenter's) ability to construct e ciently highly expanding graphs. The problem considered is given a collection of n bolts of distinct widths and n nuts such that there is a 1-1 corresponden...

متن کامل

Matching Nuts and Bolts Optimally∗

The nuts and bolts problem is the following : Given a collection of n nuts of distinct sizes and n bolts of distinct sizes such that for each nut there is exactly one matching bolt, find for each nut its corresponding bolt subject to the restriction that we can only compare nuts to bolts. That is we can neither compare nuts to nuts, nor bolts to bolts. This humble restriction on the comparisons...

متن کامل

Matching Nuts and Bolts Noga Alon

We describe a procedure which may be helpful to any disorganized carpenter who has a mixed pile of bolts and nuts and wants to nd the corresponding pairs of bolts and nuts. The procedure uses our (and the carpenter's) ability to construct e ciently highly expanding graphs. The problem considered is given a collection of n bolts of distinct widths and n nuts such that there is a 1-1 corresponden...

متن کامل

Matching Nuts and Bolts in O(n log n) Time

Given a set of n nuts of distinct widths and a set of n bolts such that each nut corresponds to a unique bolt of the same width, how should we match every nut with its corresponding bolt by comparing nuts with bolts? (No comparison is allowed between two nuts or two bolts.) The problem can be naturally viewed as a variant of the classic sorting problem as follows. Given two lists of n numbers e...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2003